package com.gzy.wb.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;


public class AppException extends RuntimeException {
    private Long code;
    public AppException(String msg,Long code) {
        super(msg);
        this.code = code;
    }

    public Long getCode() {
        return code;
    }
}

